package com.mes.biz.domain;

import com.mes.common.core.domain.BaseEntity;
import com.mes.common.utils.log.annotation.FieldRemark;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * 客户应收账款对象 biz_customer_payable
 * @author hwg
 * @email hwg
 * @date 2023-04-30
 */
@Data
public class BizCustomerPayable extends BaseEntity<BizCustomerPayable>
{
    private static final long serialVersionUID = 1L;

    @FieldRemark(name = "单据编号",field = "payableCode")
    private String payableCode;

    @FieldRemark(name = "客户ID",field = "customerId")
    private String customerId;

    @FieldRemark(name = "客户名称",field = "customerName")
    private String customerName;

    @FieldRemark(name = "总金额",field = "totalAmount")
    private BigDecimal totalAmount;

    @FieldRemark(name = "已付金额",field = "payAmount")
    private BigDecimal payAmount;

    @FieldRemark(name = "未付金额",field = "hasAmount")
    private BigDecimal hasAmount;

    @FieldRemark(name = "租户id",field = "status")
    private String tenantId;
    private String accountCode;

    private List<BizCustomerPayableDetail> payableDetails;
}
